package com.atxiaodei.kabudashejimoshi.责任链模式.校验采用设计模式;

import com.atxiaodei.kabudashejimoshi.责任链模式.Member;

/**
 * 责任链handler
 */
public abstract class Handler {

    protected Handler chain;

    public void next(Handler handler){
        this.chain=handler;
    }

    public abstract void doHandle(Member member);

}
